package com.spc.car.service.project;

import com.spc.car.data.domain.project.po.ProjectTeamAddBatchPO;
import com.spc.car.data.domain.project.po.ProjectTeamQueryOutsiderPO;
import com.spc.car.data.domain.project.po.ProjectTeamQueryPO;
import com.spc.car.data.entity.project.ProjectRole;
import com.spc.car.data.entity.project.ProjectTeam;
import com.spc.car.data.entity.sys.SysUser;

import java.util.List;

public interface BidProjectTeamService {

    boolean addBatchMember(ProjectTeamAddBatchPO addBatchPO, List<Integer> roleIds);

    List<ProjectTeam> listTeamMember(ProjectTeamQueryPO queryPO);

    List<ProjectTeam> listTeamMemberOutsider(ProjectTeamQueryOutsiderPO queryOutsiderPO);

    boolean isTeamMember(String projectTenderingCode, String operators, String permissions);

    List<ProjectRole> listSuitRole(String projectTenderingCode, String userAccount);

    boolean havePermission(String projectTenderingCode, String userAccount, String permission);

    List<String> listMemberPermission(String projectTenderingCode, SysUser user);
}
